package org.uoss.applications.framework.dao;

import org.uoss.applications.framework.dao.model.QueryModel;
import org.uoss.applications.framework.dao.model.ResultSetModel;
import org.uoss.applications.framework.entity.GeneralObject;
import org.uoss.applications.framework.exception.DAOException;

public interface IGeneralObjectDAO<T extends GeneralObject> {
	
	ResultSetModel<T> getResultSetByPaging(Class<T> entityObject,QueryModel query) throws DAOException;
	
	void addGeneralObject(T object) throws DAOException;
	
	void updateGeneralObject(T object) throws DAOException;
	
	void deleteGeneralObject(T object) throws DAOException;
}
